package com.wit.witmg.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author bob
 * @since 2025-02-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TUser对象", description="用户表")
public class TUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private int id;

    @ApiModelProperty(value = "小程序id")
    private String openid;

    @ApiModelProperty(value = "手机号")
    private Long phone;

    @ApiModelProperty(value = "姓名")
    private String name;
    private String pwd;//密码

    @ApiModelProperty(value = "类型【揽货、送货、签收、安装】")
    private Integer tp;

    @ApiModelProperty(value = "公司名称")
    private String comp;

    @ApiModelProperty(value = "其它信息")
    private String json;

    @ApiModelProperty(value = "身份审核状态")
    private Integer sh;

    @ApiModelProperty(value = "推荐人手机号")
    private Long tjr;//(签收人的推荐人是客户联系人、送货司机的推荐人是物流公司联系人、自找的送货司机推荐人是公司物流部员工 )


}
